//
//  StrictElectionCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/16.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonSellerModule.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, StrictElectionCellActionType) {
    //
    StrictElectionCellActionType_collect
};

@interface StrictElectionCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *storeName;

@property (weak, nonatomic) IBOutlet UIImageView *wuyouxuanIcon;

@property (weak, nonatomic) IBOutlet UIImageView *storeQualityTag;

@property (weak, nonatomic) IBOutlet UIView *starBGView;

@property (weak, nonatomic) IBOutlet UILabel *storeStarLab;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *qualityIconWidth;


@property (weak, nonatomic) IBOutlet UILabel *addressLab;

@property (weak, nonatomic) IBOutlet UILabel *favoriteLab;

@property (weak, nonatomic) IBOutlet UIView *collectControl;

@property (weak, nonatomic) IBOutlet UIImageView *storeMainImageView;

@property (nonatomic, copy) void(^StrictElectionCellBlock)(StrictElectionCellActionType type);

- (void)fillCellWithModel:(CommonSellerModule *)model;

+ (CGFloat)calculateHeight;

@end

NS_ASSUME_NONNULL_END
